package com.fenghongzhang.day016;

import androidx.annotation.LayoutRes;

//javabean
public class Music {

    private String title;
    private String artist;
    private String duartion;
    private String data;
    private String size;
    private String albumId;

    public Music(String title, String artist, String duartion, String data, String size, String albumId) {
        this.title = title;
        this.artist = artist;
        this.duartion = duartion;
        this.data = data;
        this.size = size;
        this.albumId = albumId;
    }

    public Music() {
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getArtist() {
        return artist;
    }

    public void setArtist(String artist) {
        this.artist = artist;
    }

    public String getDuartion() {
        return duartion;
    }

    public void setDuartion(String duartion) {
        this.duartion = duartion;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getAlbumId() {
        return albumId;
    }

    public void setAlbumId(String albumId) {
        this.albumId = albumId;
    }

    @Override
    public String toString() {
        return "Music{" +
                "title='" + title + '\'' +
                ", artist='" + artist + '\'' +
                ", duartion='" + duartion + '\'' +
                ", data='" + data + '\'' +
                ", size='" + size + '\'' +
                ", albumId='" + albumId + '\'' +
                '}';
    }
}
